package com.zhentao.model.pojo.core;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 *
 * @TableName charge_station_gun
 */
@TableName(value ="charge_station_gun")
@Data
public class ChargeStationGun implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    private String gunName;

    /**
     *
     */
    private String gunNo;

    /**
     *
     */
    private Integer stationId;

    /**
     *
     */
    private Integer gunType;

    /**
     *
     */
    private Integer gunPower;
    /**
     * 备注
     */
    private String remark;

    /**
     *
     */
    private Integer status;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private ChargeStationInfo chargeStationInfo;
    // 充电桩状态
    @TableField(exist = false)
    private String stationStatusName;
}
